package com.example.myerp.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.myerp.pojo.S_gather;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-10
 */
@SuppressWarnings("all")
public interface S_gatherMapper extends BaseMapper<S_gather> {
    void insertS_gather(S_gather s_gather);
    void checkRegSgather(S_gather s_gather);
    void insertS_gather2(S_gather s_gather);

    IPage<S_gather> sgatherRegChckList(Page<S_gather> page);

    //chenkSgaRegCell
    IPage<S_gather> regSgatherScell(Page<S_gather> page);

    IPage<S_gather> chenkSgaRegCell(Page<S_gather> page);

    IPage<S_gather> sPayCellInfoDet(Page<S_gather> page);


    void noCheckRegSgather(Long id);

    IPage<S_gather> makeSgatherStore(Page<S_gather> page);

    void updInbSch(Long id);

    void updCellAmount(@Param("num") Integer num, @Param("productId") Integer productId);

    void updSgatatus(@Param("sum") Integer num, @Param("id") Long praentId);

    void updaGthOver(S_gather s_gather);

    Long seLMaxId();
}
